-- GENERATED SPELL FOR [Winterskorn Bonegrinder] --


function spell0_23655(pUnit, Event) --@Bonegrinder,n/a--
pUnit:FullCastSpellOnTarget(43951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23655', 641, 1)
end

function Sorts_23655(pUnit, Event)
local choix_sorts_23655 = math.random(0, 0)
if choix_sorts_23655 == 0 then
pUnit:RegisterEvent('spell0_23655', 1, 1)
end
end

function mob23655_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23655', math.random(1500, 3000), 1)
end

function mob23655_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23655_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23655_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23655, 1, 'mob23655_Action')
RegisterUnitEvent(23655, 2, 'mob23655_Leave')
RegisterUnitEvent(23655, 3, 'mob23655_Kill')
RegisterUnitEvent(23655, 4, 'mob23655_Die')
